//
//  PaigongKuaiView.m
//  HondaPro_2
//
//  Created by ht on 13-7-24.
//  Copyright (c) 2013年 glendale. All rights reserved.
//

#import "PaigongKuaiView.h"

@implementation PaigongKuaiView

- (id)initWithFrame:(CGRect)frame
{
    self = [super initWithFrame:frame];
    if (self)
    {
        self.chePai = [[UILabel alloc]initWithFrame:CGRectMake(0, 0, self.frame.size.width, 23)];
        [self.chePai setBackgroundColor:[UIColor yellowColor]];
        self.chePai.font = [UIFont fontWithName:@"ArialMT" size:13];
        [self.chePai setTextAlignment:NSTextAlignmentCenter];
        [self addSubview:self.chePai];
        
        self.jieDaiYuan = [[UILabel alloc]initWithFrame:CGRectMake(0, 23, self.frame.size.width, 22)];
        [self.jieDaiYuan setBackgroundColor:[UIColor greenColor]];
        self.jieDaiYuan.font = [UIFont fontWithName:@"ArialMT" size:13];
        [self.jieDaiYuan setTextAlignment:NSTextAlignmentCenter];
        [self addSubview:self.jieDaiYuan];
        
        self.xinZeng = [[UIButton alloc]initWithFrame:CGRectMake(0, 0, self.frame.size.width, 45)];
        [self.xinZeng setBackgroundColor:[UIColor clearColor]];
        [self addSubview:self.xinZeng];
    }
    return self;
}

/*
// Only override drawRect: if you perform custom drawing.
// An empty implementation adversely affects performance during animation.
- (void)drawRect:(CGRect)rect
{
    // Drawing code
}
*/

@end
